package test.it.concept.pin.pojoadapters.pojo;

import it.concept.pin.annotations.Model;
import it.concept.pin.annotations.ProxyAdapter;
import it.concept.pin.annotations.ToPojoAdapter;
import it.concept.pin.annotations.Transport;
import test.it.concept.pin.pojoadapters.adapters.FullNameProxyAdapter;
import test.it.concept.pin.pojoadapters.adapters.FullNameToPojoInterfaceHandler;
import test.it.concept.pin.pojoadapters.model.FullName;

@Model( FullName.class )   // This is an interface
@ToPojoAdapter( FullNameToPojoInterfaceHandler.class )
@ProxyAdapter( FullNameProxyAdapter.class )
public class FullNamePojoToInterface {

	public String nameAndLast;

	@Transport
	private String nickName;
	
	public String getNickName() {
	
		return nickName;
		
	}
	
}
